home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ddddiiiisssskkkkppppaaaattttcccchhhh((((1111MMMM)))) ddddiiiisssskkkkppppaaaattttcccchhhh((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- diskpatch - prevent stiction problems with some disk drives
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ddddiiiisssskkkkppppaaaattttcccchhhh [----vvvv] [----HHHH _h_a_l_t [----SSSS _d_e_l_a_y] [----FFFF]] [----WWWW]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _d_i_s_k_p_a_t_c_h is normally run from _c_r_o_n(1M) twice a week and whenever the
- system is shutdown. It uses the hardware inventory mechanism to find all
- the disk drives on the system attached to the supported SCSI controllers,
- (excluding the _j_a_g(_7_M) controller) and determines the type of disk drive
- by sending the SCSI _i_n_q_u_i_r_y command, using the _d_s(7M) driver.
-
- If the drive is found to be one of the susceptible drives, a special
- command is issued to the drive that causes it to spin down (stop) for a
- brief period, and then start again. This sequence prevents the stiction
- from occurring, in most cases (stiction means that the magnetic heads
- have become stuck to the surface of the drive media, usually preventing
- the drive from starting and preventing the drive from being used).
-
- The options are:
-
- ----vvvv Verbose mode. The inquiry info for each disk drive found is
- printed.
-
- ----HHHH _h_a_l_t Send a vendor specific command to the affected disk drives that
- will usually prevent stiction from occurring. _h_a_l_t is the
- interval in seconds the drive will remain halted; the interval
- should be 30 seconds. Normally this command is ignored by the
- disk drive if it has been running less than 48 hours since last
- turned off or the command was last issued.
-
- ----FFFF Forces the cleaning action specified by ----HHHH regardless of time
- since last issued or hours powered on.
-
- ----SSSS _d_e_l_a_y Specify the delay in seconds between sets of drives, to avoid
- overloading the drive's power supply. An attempt is made to
- overlap drives to reduce the overall runtime.
-
- ----WWWW Warns if the firmware isn't new enough to support this command,
- and the disk appears to be one of the susceptible disk drives.
-
- NNNNOOOOTTTTEEEE
- This command must be run as the superuser.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- cron(1M), ds(7M).
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-